check if string contains unique characters